package com.itcast.demo.tokkit;

import com.itcast.demo.entity.BinaryTree;

/**
 * 二叉树右视图
 *
 * @author zheng.zhang
 */
public class RightViewTest {

    public static void main(String[] args) {
        BinaryTree tree = new BinaryTree();
        int[] arr = {1, 2, 3, 4, 5, 6, 7, 8};
        tree.createBinaryTree(arr);
        System.out.println(tree.root);
    }
}
